home *** CD-ROM | disk | FTP | other *** search
/ Windows CE - The Ultimate Companion / ROMMAN_CE.iso / Files / Games / Pocket Jongg / data1.cab / PJONGV2 / pocketjongg.load < prev   
Text File  |  1997-08-07  |  2KB  |  36 lines

  1. // This is an example of a load script that could be used to load
  2. // the H/PC Explorer. It modifies the registry, copies the needed
  3. // files, and creates several shortcuts
  4.  
  5. // 1) Create the registry keys that associate .
  6. //    files with HPC Explorer.
  7. // Register icons for the application
  8.  
  9.  
  10. regKeyCreate HKEY_CURRENT_USER Software\C-Labs 1
  11. regKeyCreate HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1
  12.  
  13. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 AllowHelp     "ON"
  14. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 AllowNextRound     "OFF"
  15. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 Intermission     "ON"
  16. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 PlayMode      "1"
  17. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 ShowBackPic     "ON"
  18. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 ShowScore     "ON"
  19. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 Skill          "1"
  20. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 Sound            "ON"
  21. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 StartRound     "1"
  22. regString HKEY_CURRENT_USER Software\C-Labs\PocketJongg 1 WindowsPos     "0,0,480,240"
  23.  
  24. // 2) Copy the files from the desktop PC to the HPC
  25.  
  26. copy . . pocketjong.exe
  27.  
  28. // 3) Create the shortcuts; one on the Desktop,
  29. // and one in the Windows\Programs\Games folder.
  30.  
  31. createShortcut \Windows\Desktop "Pocket-Jongg Demo.lnk" . pocketjong.exe
  32. createShortcut "\Windows\Programs\Games" "Pocket-Jongg Demo.lnk" .     pocketjong.exe
  33.  
  34. // remoteExec .\pocketjong.exe /r
  35. // Exit the script
  36. exit